import { request } from 'umi';

export async function getArticle(params: any) {
  return request('/api/client/getArticle', {
    method: 'GET',
    params,
  });
}
export async function saveComConversation(params: any) {
  return request('/api/manage/saveComConversation', {
    method: 'POST',
    data: params,
  });
}

export async function getComConversation(params: any) {
  return request('/api/manage/getComConversation', {
    method: 'GET',
    params,
  });
}
export async function getCurrentUser(params: any) {
  return request('/api/user/currentUser', {
    method: 'GET',
    params,
  });
}
